<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>NumberFormat (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">i18n.NumberFormat</span>
        <span>Extends</span>
        <span class="fn-name">
          
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    Constructor of NumberFormat.

  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_i18n_numberformat.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/i18n/numberformat.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td>goog.i18n.NumberFormat</td><td></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.i18n.NumberFormat(<span><span class="arg">pattern</span>,&nbsp;<span class="arg">opt_currency</span>,&nbsp;<span class="arg">opt_currencyStyle</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The number that indicates a predefined
    number format pattern.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_currency</span>
        : <span class="type">string=</span>
        <div class="entryOverview">Optional international currency
    code. This determines the currency code/symbol used in format/parse. If
    not given, the currency code for current locale will be used.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_currencyStyle</span>
        : <span class="type">number=</span>
        <div class="entryOverview">currency style, value defined in
       goog.i18n.NumberFormat.CurrencyStyle.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_i18n_NumberFormat.html">
              goog.i18n.NumberFormat
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.addExponentPart_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">addExponentPart_<span class="args">(<span class="arg">exponent</span>,&nbsp;<span class="arg">parts</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Formats exponent part of a Number.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">exponent</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Exponential value.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">parts</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The array that holds the pieces of formatted
    string. This function will append more formatted pieces to the array.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line655">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.applyCompactStyle_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">applyCompactStyle_<span class="args">(<span class="arg">style</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Apply a predefined pattern for shorthand formats.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">style</span>
        : <span class="type">goog.i18n.NumberFormat.CompactStyle</span>
        <div class="entryOverview">the compact style to
    set defaults for.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line330">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.applyPattern_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">applyPattern_<span class="args">(<span class="arg">pattern</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Apply provided pattern, result are stored in member variables.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">String pattern being applied.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line265">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.applyStandardPattern_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">applyStandardPattern_<span class="args">(<span class="arg">patternType</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Apply a predefined pattern to NumberFormat object.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">patternType</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number that indicates a predefined number
    format pattern.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line296">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.format"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">format<span class="args">(<span class="arg">number</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Formats a Number to produce a string.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The Number to be formatted.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The formatted number string.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line494">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.getBaseFormatting"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getBaseFormatting<span class="args">()</span>
        </span>
        &#8658; <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Gets the number on which compact formatting is currently based, or null if
no such number is set. See setBaseFormatting() for more information.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            <span class='nodesc'>No description.</span>
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line254">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.getDigit_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDigit_<span class="args">(<span class="arg">ch</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Returns the digit value of current character. The character could be either
'0' to '9', or a locale specific digit.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">ch</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Character that represents a digit.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The digit value, or -1 on error.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line730">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.getSignificantDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getSignificantDigits<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Gets number of significant digits to show. Only fractions will be rounded.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The number of significant digits to include.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line204">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.getUnitAfterRounding_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getUnitAfterRounding_<span class="args">(<span class="arg">formattingNumber</span>,&nbsp;<span class="arg">pluralityNumber</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type">goog.i18n.NumberFormat.CompactNumberUnit</span>
      </div>


     <div class="entryOverview">
       Get the compact unit divisor, accounting for rounding of the quantity.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">formattingNumber</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to base the formatting on. The
    unit will be calculated from this number.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pluralityNumber</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to use for calculating the
    plurality.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type">goog.i18n.NumberFormat.CompactNumberUnit</span>&nbsp;
            The unit after rounding.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1130">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.getUnitFor_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getUnitFor_<span class="args">(<span class="arg">base</span>,&nbsp;<span class="arg">plurality</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type">goog.i18n.NumberFormat.CompactNumberUnit</span>
      </div>


     <div class="entryOverview">
       Get compact unit for a certain number of digits


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">base</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number of digits to get the unit for.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">plurality</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The plurality of the number.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type">goog.i18n.NumberFormat.CompactNumberUnit</span>&nbsp;
            The compact unit.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1087">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.intLog10_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">intLog10_<span class="args">(<span class="arg">number</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Get the integer base 10 logarithm of a number.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to log.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The lowest integer n such that 10^n &gt;= number.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1167">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.isCurrencyCodeBeforeValue"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">isCurrencyCodeBeforeValue<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Checks if the currency symbol comes before the value ($12) or after (12$)
Handy for applications that need to have separate UI fields for the currency
value and symbol, especially for input: Price: [USD] [123.45]
The currency symbol might be a combo box, or a label.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            true if currency is before value.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1225">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.parse"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">parse<span class="args">(<span class="arg">text</span>,&nbsp;<span class="arg">opt_pos</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Parses text string to produce a Number.

This method attempts to parse text starting from position "opt_pos" if it
is given. Otherwise the parse will start from the beginning of the text.
When opt_pos presents, opt_pos will be updated to the character next to where
parsing stops after the call. If an error occurs, opt_pos won't be updated.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The string to be parsed.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type">number></span>&gt;
        <div class="entryOverview">Position to pass in and get back.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Parsed number. This throws an error if the text cannot be
    parsed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line352">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.parseAffix_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">parseAffix_<span class="args">(<span class="arg">pattern</span>,&nbsp;<span class="arg">pos</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Parses affix part of pattern.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Pattern string that need to be parsed.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&gt;
        <div class="entryOverview">One element position array to set and receive
    parsing position.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Affix received from parsing.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line852">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.parseNumber_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">parseNumber_<span class="args">(<span class="arg">text</span>,&nbsp;<span class="arg">pos</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       This function will parse a "localized" text into a Number. It needs to
handle locale specific decimal, grouping, exponent and digits.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The text that need to be parsed.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&gt;
        <div class="entryOverview">In/out parsing position. In case of failure,
   pos value won't be changed.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            Number value, or NaN if nothing can be parsed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line418">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.parseTrunk_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">parseTrunk_<span class="args">(<span class="arg">pattern</span>,&nbsp;<span class="arg">pos</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Parses the trunk part of a pattern.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">pattern</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Pattern string that need to be parsed.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">pos</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&gt;
        <div class="entryOverview">One element position array to set and receive
    parsing position.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line937">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.pluralForm_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">pluralForm_<span class="args">(<span class="arg">quantity</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Get the plural form of a number.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">quantity</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The quantity to find plurality of.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            One of 'zero', 'one', 'two', 'few', 'many', 'other'.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1211">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.roundNumber_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">roundNumber_<span class="args">(<span class="arg">number</span>)</span>
        </span>
        &#8658; <span class="type">{intValue: number, fracValue: number</span>
      </div>


     <div class="entryOverview">
       Round a number into an integer and fractional part
based on the rounding rules for this NumberFormat.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to round.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type">{intValue: number, fracValue: number</span>&nbsp;
            } The integer and fractional
    part after rounding.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line541">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.roundToSignificantDigits_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">roundToSignificantDigits_<span class="args">(<span class="arg">number</span>,&nbsp;<span class="arg">significantDigits</span>,&nbsp;<span class="arg">scale</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
      </div>


     <div class="entryOverview">
       Round to a certain number of significant digits.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to round.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">significantDigits</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number of significant digits
    to round to.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">scale</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Treat number as fixed point times 10^scale.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>&nbsp;
            The rounded number.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1185">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.setBaseFormatting"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setBaseFormatting<span class="args">(<span class="arg">baseFormattingNumber</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>
      </div>


     <div class="entryOverview">
       Sets a number to base the formatting on when compact style formatting is
used. If this is null, the formatting should be based only on the number to
be formatting.

This base formatting number can be used to format the target number as
another number would be formatted. For example, 100,000 is normally formatted
as "100K" in the COMPACT_SHORT format. To instead format it as '0.1M', the
base number could be set to 1,000,000 in order to force all numbers to be
formatted in millions. Similarly, 1,000,000,000 would normally be formatted
as '1B' and setting the base formatting number to 1,000,000, would cause it
to be formatted instead as '1,000M'.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">baseFormattingNumber</span>
        : <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number to base formatting on, or
null if formatting should not be based on another number.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>&nbsp;
            Reference to this NumberFormat object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line240">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.setMaximumFractionDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setMaximumFractionDigits<span class="args">(<span class="arg">max</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>
      </div>


     <div class="entryOverview">
       Sets maximum number of fraction digits.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">max</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">the maximum.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>&nbsp;
            Reference to this NumberFormat object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line179">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.setMinimumFractionDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setMinimumFractionDigits<span class="args">(<span class="arg">min</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>
      </div>


     <div class="entryOverview">
       Sets minimum number of fraction digits.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">min</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">the minimum.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>&nbsp;
            Reference to this NumberFormat object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line164">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.setShowTrailingZeros"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setShowTrailingZeros<span class="args">(<span class="arg">showTrailingZeros</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>
      </div>


     <div class="entryOverview">
       Sets whether trailing fraction zeros should be shown when significantDigits_
is positive. If this is true and significantDigits_ is 2, 1 will be formatted
as '1.0'.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">showTrailingZeros</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Whether trailing zeros should be shown.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>&nbsp;
            Reference to this NumberFormat object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line216">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.setSignificantDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setSignificantDigits<span class="args">(<span class="arg">number</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>
      </div>


     <div class="entryOverview">
       Sets number of significant digits to show. Only fractions will be rounded.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The number of significant digits to include.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_i18n_NumberFormat.html">goog.i18n.NumberFormat</a></span>&nbsp;
            Reference to this NumberFormat object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line190">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.subformatExponential_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">subformatExponential_<span class="args">(<span class="arg">number</span>,&nbsp;<span class="arg">parts</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Formats Number in exponential format.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Value need to be formated.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">parts</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&gt;
        <div class="entryOverview">The array that holds the pieces of formatted
    string. This function will append more formatted pieces to the array.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line683">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.prototype.subformatFixed_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">subformatFixed_<span class="args">(<span class="arg">number</span>,&nbsp;<span class="arg">minIntDigits</span>,&nbsp;<span class="arg">parts</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Formats a Number in fraction format.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">number</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview"><span class='nodesc'>No description.</span></div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">minIntDigits</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">Minimum integer digits.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">parts</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>
        <div class="entryOverview">This array holds the pieces of formatted string.
    This function will add its formatted pieces to the array.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line571">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_i18n_NumberFormat.html">
              goog.i18n.NumberFormat
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.baseFormattingNumber_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">baseFormattingNumber_</span>
        : 
     </div>


     <div class="entryOverview">
       The number to base the formatting on when using compact styles, or null
if formatting should not be based on another number.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line86">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.compactStyle_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">compactStyle_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line331">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.currencyStyle_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">currencyStyle_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line50">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.decimalSeparatorAlwaysShown_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">decimalSeparatorAlwaysShown_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1056">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.groupingSize_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">groupingSize_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1055">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.intlCurrencyCode_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">intlCurrencyCode_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line47">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.maximumFractionDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">maximumFractionDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1033">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.maximumIntegerDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">maximumIntegerDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1047">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.minExponentDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">minExponentDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line983">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.minimumFractionDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">minimumFractionDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1037">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.minimumIntegerDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">minimumIntegerDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1051">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.multiplier_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">multiplier_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line916">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.negativePrefix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">negativePrefix_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line284">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.negativeSuffix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">negativeSuffix_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line285">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.positivePrefix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">positivePrefix_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line269">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.positiveSuffix_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">positiveSuffix_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line273">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.showTrailingZeros_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">showTrailingZeros_</span>
        : 
     </div>


     <div class="entryOverview">
       Whether to show trailing zeros in the fraction when significantDigits_ is
positive.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line66">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.significantDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">significantDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line195">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.useExponentialNotation_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">useExponentialNotation_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line982">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.prototype.useSignForPositiveExponent_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">useSignForPositiveExponent_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line989">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.isEnforceAsciiDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">isEnforceAsciiDigits<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       Return if Ascii digits is enforced.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            If Ascii digits is enforced.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line154">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.i18n.NumberFormat.setEnforceAsciiDigits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">setEnforceAsciiDigits<span class="args">(<span class="arg">doEnforce</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Set if the usage of Ascii digits in formatting should be enforced.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">doEnforce</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
        <div class="entryOverview">Boolean value about if Ascii digits should be
    enforced.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line145">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.CompactNumberUnit"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">CompactNumberUnit</span>
        : 
     </div>


     <div class="entryOverview">
       Alias for the compact format 'unit' object.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1069">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.NULL_UNIT_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">NULL_UNIT_</span>
        : 
     </div>


     <div class="entryOverview">
       The empty unit, corresponding to a base of 0.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line1076">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_CURRENCY_SIGN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_CURRENCY_SIGN_</span>
        : 
     </div>


     <div class="entryOverview">
       A quote character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line831">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_DECIMAL_SEPARATOR_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_DECIMAL_SEPARATOR_</span>
        : 
     </div>


     <div class="entryOverview">
       A decimal separator character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line767">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_DIGIT_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_DIGIT_</span>
        : 
     </div>


     <div class="entryOverview">
       A digit character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line791">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_EXPONENT_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_EXPONENT_</span>
        : 
     </div>


     <div class="entryOverview">
       An exponent character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line807">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_GROUPING_SEPARATOR_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_GROUPING_SEPARATOR_</span>
        : 
     </div>


     <div class="entryOverview">
       A grouping separator character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line759">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_MINUS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_MINUS_</span>
        : 
     </div>


     <div class="entryOverview">
       A minus character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line823">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_PERCENT_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_PERCENT_</span>
        : 
     </div>


     <div class="entryOverview">
       A percent character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line783">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_PER_MILLE_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_PER_MILLE_</span>
        : 
     </div>


     <div class="entryOverview">
       A per mille character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line775">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_PLUS_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_PLUS_</span>
        : 
     </div>


     <div class="entryOverview">
       An plus character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line815">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_SEPARATOR_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_SEPARATOR_</span>
        : 
     </div>


     <div class="entryOverview">
       A separator character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line799">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.PATTERN_ZERO_DIGIT_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">PATTERN_ZERO_DIGIT_</span>
        : 
     </div>


     <div class="entryOverview">
       A zero digit character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line751">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.QUOTE_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">QUOTE_</span>
        : 
     </div>


     <div class="entryOverview">
       A quote character.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line839">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.enforceAsciiDigits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">enforceAsciiDigits_</span>
        : 
     </div>


     <div class="entryOverview">
       If the usage of Ascii digits should be enforced.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line137">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Enumerations</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.CompactStyle"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">CompactStyle</span>
        : 
     </div>


     <div class="entryOverview">
       Compacting styles.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  LONG
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  NONE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SHORT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line125">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.CurrencyStyle"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">CurrencyStyle</span>
        : 
     </div>


     <div class="entryOverview">
       Currency styles.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  GLOBAL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  LOCAL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  PORTABLE
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line114">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.i18n.NumberFormat.Format"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.i18n.NumberFormat.</span><span class="entryName">Format</span>
        : 
     </div>


     <div class="entryOverview">
       Standard number formatting patterns.

     </div>

     <div class="entryDetails">
       <div class="detailsSection">
          <b>Constants:</b>
          <table class="horiz-rule">
            <tbody>
              <tr><td>
                <span class="entryName">
                  COMPACT_LONG
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  COMPACT_SHORT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  CURRENCY
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  DECIMAL
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  PERCENT
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
              <tr><td>
                <span class="entryName">
                  SCIENTIFIC
                </span>
                <div class="entryOverview">
                  <span class='nodesc'>No description.</span>
                </div>
             </td></tr>
           </tbody>
         </table>
       </div>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_i18n_numberformat.js.source.html#line100">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package i18n</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="i18n.NumberFormat"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
